package com.day19.System;

import java.io.BufferedReader;
import java.io.IOException;
import java.util.Scanner;

public class SystemInDemo {
    public static void main(String[] args) throws IOException {
        BufferedReader br=new BufferedReader(new java.io.InputStreamReader(System.in));
        System.out.println("请输入内容");
        String line=br.readLine();
        System.out.println("你输入的字符串是："+line);
        System.out.println("请输入一个整数：");
        int i=Integer.parseInt(br.readLine());
        System.out.println("你输入的整数是："+i);
        Scanner sc=new Scanner(System.in);
    }
}
